$OpenBSD: patch-libffi_pc_in,v 1.3 2016/01/28 08:40:47 jasper Exp $

- Install headers into a standard directory.
- Always link link -pthread

--- libffi.pc.in.orig	Sat Nov  8 13:47:24 2014
+++ libffi.pc.in	Tue Jan 26 18:55:09 2016
@@ -2,10 +2,10 @@ prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
 toolexeclibdir=@toolexeclibdir@
-includedir=${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
+includedir=@includedir@
 
 Name: @PACKAGE_NAME@
 Description: Library supporting Foreign Function Interfaces
 Version: @PACKAGE_VERSION@
-Libs: -L${toolexeclibdir} -lffi
+Libs: -L${toolexeclibdir} -lffi -pthread
 Cflags: -I${includedir}
